package org.example.musicserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.musicserver.common.Result;
import org.example.musicserver.entity.PlayListComment;
import org.example.musicserver.entity.VO.PlayListCommentVO;

import java.util.List;

public interface PlayListCommentService  extends IService<PlayListComment> {
    //
    List<PlayListCommentVO> commentOfPlayListId(Integer playListId,Byte type);
    Result addPlayListComment(Integer userId,Integer playListId,String content,Byte type);
    Result deletePlayListComment(Integer id,Byte type);
    Result commentOfAllPlayList(Byte type,String query);
}
